package com.wuye.model;

import java.io.Serializable;
import javax.persistence.*;
import org.apache.commons.lang3.builder.*;

@Entity
@Table(name="wuye_menu_activity")
public class MenuActivity implements Serializable{
	public String toString() {
		try {
			return ReflectionToStringBuilder.toString(this,ToStringStyle.MULTI_LINE_STYLE);
		} catch (Exception e) {
			return e.getMessage();
		}
	}

	@Id
	@Column(name = "menu_id")
	private String menuId;
	public String getMenuId(){
		return this.menuId;
	}
	public void setMenuId(String arg){
		this.menuId=arg;
	}

	@Column(name = "for_sale")
	private Integer forSale;
	public Integer getForSale(){
		return this.forSale;
	}
	public void setForSale(Integer arg){
		this.forSale=arg;
	}
	@Column(name="store_num")
	private Integer storeNum;

	public Integer getStoreNum() {
		return storeNum;
	}

	public void setStoreNum(Integer storeNum) {
		this.storeNum = storeNum;
	}

	public MenuActivity(String menuId, Integer forSale, int storeNum) {
		this.menuId = menuId;
		this.forSale = forSale;
		this.storeNum = storeNum;
	}

	public MenuActivity() {
	}
}